{foreach key=i item=item from=$arrResult}
    <li{if $i%5==0} class="firstChild"{/if}>
        {if $item.cfriend > 0}
            <div class="friendCommon"><a href="javascript:;" onclick="javascript:relationOfFriend({$item.userid|ouser:"hex"});"><strong>{$item.cfriend}</strong> bạn chung</a></div>
        {/if}
        {image userid=$item.userid viewid=$AppUI->id type=1 viewid=$AppUI->id small=1 class="border100 lFloat"}
        <span class="user"><a href="{vfriend_username userid=$item.userid viewid=$AppUI->id}">{$item.userid|ouser}</a></span>
    </li>
{/foreach}